#ifndef MEETINGPOINT_H
#define MEETINGPOINT_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QLineEdit>

#include "custompushbutton.h"

class MeetingPoint : public QWidget
{
    Q_OBJECT
public:
    explicit MeetingPoint(QWidget *parent = nullptr);

private:
    void initUI();
    void setLineEdit(bool bState);

    QVector<CustomPushButton*> m_vectPushBtn;
    QLineEdit *m_pLineEdit_Type;
    QLineEdit *m_pLineEdit_IncomingRoad;
    QLineEdit *m_pLineEdit_ConnectingRoad;
    QLineEdit *m_pLineEdit_LaneLinkFrom1;
    QLineEdit *m_pLineEdit_LaneLinkTo1;
    QLineEdit *m_pLineEdit_LaneLinkFrom2;
    QLineEdit *m_pLineEdit_LaneLinkTo2;
    QLineEdit *m_pLineEdit_ControllerID;
    QLineEdit *m_pLineEdit_ControllerType;

private slots:
    void onPushBtn(QString strName);
};

#endif // MEETINGPOINT_H
